import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 * @author：刘东
 * @created: 2013-6-27 下午05:41:32 
 * @version：$Id$ 
 * @since:1.0
 * @copyright 
 *
 */

public class zhuanma {
	public static void main(String[] args) {
		//数据字典!
		char c[] = {
			'零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖' };
		//等待输入!
		System.out.print("请输入一个阿拉伯数字: ");
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		//得到输入!
		try {
			String input = br.readLine();
			for (int count = 0; count < input.length(); count++) {
				//转成数字
				char temp = input.charAt(count);
				switch (temp) {
				case '1':
					System.out.print(c[1]);
					break;
				case '2':
					System.out.print(c[2]);
					break;
				case '3':
					System.out.print(c[3]);
					break;
				case '4':
					System.out.print(c[4]);
					break;
				case '5':
					System.out.print(c[5]);
					break;
				case '6':
					System.out.print(c[6]);
					break;
				case '7':
					System.out.print(c[7]);
					break;
				case '8':
					System.out.print(c[8]);
					break;
				case '9':
					System.out.print(c[9]);
					break;
				case '0':
					System.out.print(c[0]);
					break;
				default:
					break;
				}

			}
		} catch (IOException e) {
			e.printStackTrace();
		}

	}

}
